package com.hfuuTaf.service.implement;

import com.hfuuTaf.mapper.homePromoteMapper;
import com.hfuuTaf.pojo.homePromote;
import com.hfuuTaf.service.homePromoteService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 主页大屏幕下的简单介绍
 */
@Service
public class homePromoteServiceImpl implements homePromoteService {
    final homePromoteMapper homePromoteMapper;

    public homePromoteServiceImpl(homePromoteMapper homePromoteMapper) {
        this.homePromoteMapper = homePromoteMapper;
    }

    @Override
    public List<homePromote> queryAll() {
        return homePromoteMapper.queryAll();
    }
}
